import request from '@/utils/request'

// ai -- 肤质检测图片
export function skinAdd(data) {
  return request({
    url: '/SkinDetection/add',
    method: 'post',
    data
  })
}

// ai -- 检测
export function skinDetection(data) {
  return request({
    url: '/SkinDetection/detection',
    method: 'post',
    data
  })
}

// ai -- 检测结果列表
export function skinLists(data) {
  return request({
    url: '/SkinDetection/get_lists',
    method: 'post',
    data
  })
}

// ai -- 检测结果详情
export function skinDetail(data) {
  return request({
    url: '/SkinDetection/get_detail',
    method: 'post',
    data
  })
}

// ai -- 一键加入购物车
export function skinAddCart(data) {
  return request({
    url: '/SkinDetection/add_cart',
    method: 'post',
    data
  })
}

// ai -- 协议详情
export function skinExplain(data) {
  return request({
    url: '/SkinDetection/get_explain',
    method: 'post',
    data
  })
}

